package com.njwb;

import com.njwb.Swing.Login.LoginController;
import com.njwb.Swing.Login.LoginService;
import com.njwb.Swing.Login.LoginView;

import javax.swing.*;

public class MainApp {
    public static void main(String[] args) {
        SwingUtilities.invokeLater(() -> {
            // 初始化登录界面和服务
            LoginView loginView = new LoginView();
            LoginService loginService = new LoginService();
            new LoginController(loginView, loginService);

            loginView.setVisible(true);
        });
    }
}
